asp.net core get root url in view

39

mvc get base url -

Request.Url.GetLeftPart(UriPartial.Authority) + Url.Content("~")

Comments

Submit
0 Comments